//
//  HomeProductCell.h
//  YunGou
//
//  Created by macbook on 16/5/17.
//  Copyright © 2016年 macbook. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YGProgressBarView.h"

typedef void(^HomeProductCellBlock)(UIView *tapView);

typedef void(^addShopCartBlock)(NSInteger tag);

@interface HomeProductCell : UITableViewCell
@property (nonatomic,strong) HomeProductCellBlock homeProductCellBlock;
@property (nonatomic,strong) addShopCartBlock addShopCartBlock;

@property (weak, nonatomic) IBOutlet UIView *leftView;
@property (weak, nonatomic) IBOutlet UIImageView *leftImageView;
@property (weak, nonatomic) IBOutlet UILabel *leftTitleLabel;
@property (weak, nonatomic) IBOutlet UILabel *leftTotalNeedLabel;
@property (weak, nonatomic) IBOutlet UILabel *leftSurplusLabel;
@property (weak, nonatomic) IBOutlet YGProgressBarView *leftProgressView;

@property (weak, nonatomic) IBOutlet UIView *rightView;
@property (weak, nonatomic) IBOutlet UIImageView *rightImageView;
@property (weak, nonatomic) IBOutlet UILabel *rightTitleLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightTotalNeedLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightSurplusLabel;
@property (weak, nonatomic) IBOutlet YGProgressBarView *rightProgressView;
@end
